<template>
  <div class="test-page">
    <h1>生成管理测试页面</h1>
    <p>如果您看到这个页面，说明路由工作正常。</p>
    <el-button @click="goBack">返回</el-button>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from 'vue-router'

const router = useRouter()

const goBack = () => {
  router.go(-1)
}
</script>

<style scoped>
.test-page {
  padding: 20px;
}
</style>
